﻿using System;

namespace Yyd.Share.Base
{
    public class DataNotExistsException : Exception
    {
        public DataNotExistsException(string message) : base(message)
        {
        }

        public DataNotExistsException(string errorCode, string errorMessage) : base(errorMessage)
        {
            ErrorCode = errorCode;
        }

        public string ErrorCode { get; }
    }
}